home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cato
/
Xm
/
XmListReplaceItemsPos.z
/
XmListReplaceItemsPos
Wrap
Text File
|
1998-10-20
|
5KB
|
133 lines
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss - A List function that replaces the
specified elements in the list
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////LLLLiiiisssstttt....hhhh>>>>
vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss ((((_w_i_d_g_e_t, _n_e_w__i_t_e_m_s, _i_t_e_m__c_o_u_n_t, _p_o_s_i_t_i_o_n))))
WWWWiiiiddddggggeeeetttt _w_i_d_g_e_t;;;;
XXXXmmmmSSSSttttrrrriiiinnnngggg ****_n_e_w__i_t_e_m_s;;;;
iiiinnnntttt _i_t_e_m__c_o_u_n_t;;;;
iiiinnnntttt _p_o_s_i_t_i_o_n;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents version 1.2 of the Motif library.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss replaces the specified number of items
of the List with new items, starting at the specified
position in the List. When the items are inserted into the
list, they are compared with the current XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmssss
list. If any of the new items matches an item on the
selected list, it appears selected.
_w_i_d_g_e_t Specifies the ID of the List widget.
_n_e_w__i_t_e_m_s
Specifies the replacement items.
_i_t_e_m__c_o_u_n_t
Specifies the number of items in _n_e_w__i_t_e_m_s and the
number of items in the list to replace. This number
must be non-negative.
_p_o_s_i_t_i_o_n
Specifies the position of the first item in the list
to be replaced. A value of 1 indicates that the
first item replaced is the first item in the list; a
value of 2 indicates that it is the second item; and
so on.
Beginning with the item specified in _p_o_s_i_t_i_o_n,
_i_t_e_m__c_o_u_n_t items in the list are replaced with the
corresponding elements from _n_e_w__i_t_e_m_s. That is, the
item at _p_o_s_i_t_i_o_n is replaced with the first element
of _n_e_w__i_t_e_m_s; the item after _p_o_s_i_t_i_o_n is replaced
with the second element of _n_e_w__i_t_e_m_s; and so on,
until _i_t_e_m__c_o_u_n_t is reached.
Page 1 (printed 4/30/98)
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssPPPPoooossss((((3333XXXX))))
For a complete definition of List and its associated
resources, see XXXXmmmmLLLLiiiisssstttt((((3333XXXX)))).
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
XXXXmmmmLLLLiiiisssstttt((((3333XXXX)))).
Page 2 (printed 4/30/98)